package com.lg.system.wxgroup.entity;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.lg.utils.PageModel;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.lg.common.validate.Insert;
import com.lg.common.validate.Update;
import com.lg.common.validate.Delete;
import com.lg.common.validate.Search;
import com.lg.utils.Page;
/**
 * <p>
 * 
 * </p>
 *
 * @author dl
 * @since 2018-04-08
 */
@TableName("wx_group")
@JsonIgnoreProperties(value={Page.sort,Page.order,Page.rows,Page.total,Page.limit,Page.offset,Page.code},allowSetters=true)
public class WxGroup extends PageModel {

    private static final long serialVersionUID = 1L;
    /**
     * 分组id
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 分组名称
     */
    private String name;

    /**
     * 标签下人数
     */
    private Long count;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "WxGroup{" +
        ", id=" + id +
        ", name=" + name +
        ", count=" + count +
        "}";
    }
}
